package com.ruoyi.common.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报警记录对象 pt_police_record
 *
 * @author lkm
 * @date 2024-10-30
 */
public class PtPolice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 报警记录ID */
    private Long id;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String sn;

    /** 关键词 */
    @Excel(name = "关键词")
    private String keyword;

    /** 事件ID */
    @Excel(name = "事件ID")
    private String taskId;

    /** 报警类型（1：语音呼救，2：其他） */
    @Excel(name = "报警类型", readConverterExp = "1=：语音呼救，2：其他")
    private String type;

    /** 设备安装房间 */
    @Excel(name = "设备安装房间")
    private String address;

    /** 事件详情页面 */
    @Excel(name = "事件详情页面")
    private String eventUrl;

    /** 报警音频地址 */
    @Excel(name = "报警音频地址")
    private String audioUrl;

    /** 上报学校 */
    @Excel(name = "上报学校")
    private Long schoolId;

    /** 删除标志（0:存在，1：删除） */
    private String delFlag;

    private String schoolName;

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setSn(String sn)
    {
        this.sn = sn;
    }

    public String getSn()
    {
        return sn;
    }
    public void setKeyword(String keyword)
    {
        this.keyword = keyword;
    }

    public String getKeyword()
    {
        return keyword;
    }
    public void setTaskId(String taskId)
    {
        this.taskId = taskId;
    }

    public String getTaskId()
    {
        return taskId;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setEventUrl(String eventUrl)
    {
        this.eventUrl = eventUrl;
    }

    public String getEventUrl()
    {
        return eventUrl;
    }
    public void setAudioUrl(String audioUrl)
    {
        this.audioUrl = audioUrl;
    }

    public String getAudioUrl()
    {
        return audioUrl;
    }
    public void setSchoolId(Long schoolId)
    {
        this.schoolId = schoolId;
    }

    public Long getSchoolId()
    {
        return schoolId;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return "PtPoliceRecord{" +
                "id=" + id +
                ", sn='" + sn + '\'' +
                ", keyword='" + keyword + '\'' +
                ", taskId='" + taskId + '\'' +
                ", type='" + type + '\'' +
                ", address='" + address + '\'' +
                ", eventUrl='" + eventUrl + '\'' +
                ", audioUrl='" + audioUrl + '\'' +
                ", schoolId=" + schoolId +
                ", delFlag='" + delFlag + '\'' +
                ", schoolName='" + schoolName + '\'' +
                '}';
    }
}
